<%-- 
    Document   : ecGestionPatrocinador
    Created on : 01/11/2009, 10:56:55 PM
    Author     : Liz Alvarez
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" isELIgnored="true" import="java.util.List"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <title>.::Incubadora de Empresas::. Invierta con nosotros</title>
        
         <%@ page 
         
         import="pe.edu.unmsm.fisi.ceiecbt.ejb.beans.ComtbPatrocinadorFacade"
         import="pe.edu.unmsm.fisi.ceiecbt.ejb.beans.ComtbPatrocinadorFacadeRemote"
         import ="pe.edu.unmsm.fisi.ceiecbt.ejb.entidad.ComtbPatrocinador"
         import ="pe.edu.unmsm.fisi.ceiecbt.ejb.entidad.ComtbEmpresa"


         import ="pe.edu.unmsm.fisi.ceiecbt.app.clases.Menu"
	 import="java.util.*" 
         import="javax.naming.*" 
         import="javax.rmi.PortableRemoteObject"
         import="javax.ejb.*"
         import= "javax.ejb.EJB"
         

%>
        
           <%@include file="jspf/links.jspf"%>
        
        <style type="text/css">
            #s5_mainbackmiddle {
                width:950px;}
            
            #s5_topback {
                width:926px;}
            
            #s5_bottomtop {
                width:926px;}
            
            #s5_bottommiddle {
                width:926px;}
            
            #s5_maininner {
                width:904px;}
            
            #s5_footer {
                width:950px;}
            
            #s5_topleftbottom {
                width:926px;}
            
            #s5_mainbody {
                width:632px;}
            
        </style>  
        
    </head>
    <body>
        <div id="s5_background"> 
            <div id="s5_topbackground"> 
                
                <div id="s5_topback"> 
                    <div id="s5_topleft">
                        <div class="s5_topblock">
                            <div id="s5_logo" style="cursor:pointer;">
                            </div>
                        </div>	
                        
                    </div>
                    
                    <div id="s5_topright">
                        <div class="s5_topblock">
                            <div id="s5_search">
                                <div style="position:relative;">
                                    <div class="moduletable">
                                        
                                        <form action="" method="get">
                                            <div class="search">
                                            <input name="searchword" id="mod_search_searchword" maxlength="20" alt="search" class="inputbox" type="text" size="20" value="Buscar..."  onblur="if(this.value=='') this.value='Buscar...';" onfocus="if(this.value=='Buscar...') this.value='';" />	</div>
                                            
                                            <input type="hidden" name="option" value="com_search" />
                                            <input type="hidden" name="Itemid" value="5" />	
                                    </form>		</div>
                                </div>
                            </div>
                        </div>	
                    </div>
                </div>
                
                <%@include file="jspf/menu_uhead.jspf"%>
                
            </div>
            
            <div class="clear:both;"></div>
            
            <div id="s5_topbackbottombar"></div>
            
        </div>
        
        
        <div id="s5_mainbodywrapper">		
            <div id="s5_mainbackmiddle">	
                <div id="s5_maininnerleft"></div>	
                <div id="s5_maininner">
                    
                    
                    
                    <%@include file="jspf/menu_aright.jspf"%>
                    
                    <div style="margin-right:252px;">
                        
                        <div id="s5_maincolumn" style="width:650px;">
                            
                            
                            
                            <div id="s5_leftmainwrap">
                                <div id="s5_maincolumn_top">
                                    <div id="s5_maincolumn_top_left"></div>
                                    <div id="s5_maincolumn_top_right"></div>
                                </div>
                                <div id="s5_maincolumn_wrap">
                                    
                                    <div id="s5_positions">
                                        
                                        <div id="s5_user1_100">
                                            <div class="module">
                                                <div>
                                                    <div>
                                                     
                                                                                                      
                                                     
                                                     
                                                     <table bordercolor="#003366" border="0" width="47%" style="margin:15px;">
                                                          <tbody>
                                                              
       
<%

    List<ComtbEmpresa> listpat=(List) request.getAttribute("cEmpresa");
 
int cont;
            for(int i=0;i<listpat.size();i=i+3){
                
                   
                    
                    if(i%3==0){
                 
                    %>
                        
                      <tr style="margin:5px;">
                         
                       <td valign="top" bgcolor="#ffffff" style="margin:5px;">
                           <% 
                           String var1=listpat.get(i).getEmprevRazSocial().toString(); %>
                          <p style="margin:5px;">
                              <br/>
                              <strong><%=var1%></strong>
                              <br/>
                          </p>
                          
                              <p style="margin:5px;">
                                    <a href="Empresa?operacion=0&id=<%=listpat.get(i).getEmprevCodEmpresa()%>">
                                       <% //String var="e"+patIt.getComtbPatrocinadorPK().getPatorvCodPatrocinador()+".gif"; %>
                                       <img style="height:52px;width:160px;" border="0" src="/imagenes/acklis.gif"/>
                                   </a><br/>
                                </p>
                          
                        </td>
                        
                                     <td valign="top" bgcolor="#ffffff" style="margin:5px;">
                           <% 
                           String var2=listpat.get(i+1).getEmprevRazSocial().toString(); %>
                          <p style="margin:5px;">
                              <br/>
                              <strong><%=var2%></strong>
                              <br/>
                          </p>
                          
                              <p style="margin:5px;">
                                   <a href="Empresa?operacion=0&id=<%=listpat.get(i+1).getEmprevCodEmpresa()%>">
                                       <%// String var="e"+patIt.getComtbPatrocinadorPK().getPatorvCodPatrocinador()+".gif"; %>
                                       <img style="height:52px;width:160px;" border="0" src="/imagenes/acklis.gif"/>
                                   </a><br/>
                                </p>
                          
                        </td>
                        
                                     <td valign="top" bgcolor="#ffffff" style="margin:5px;">
                           <% 
                           String var3=listpat.get(i+2).getEmprevRazSocial().toString(); %>
                          <p style="margin:5px;">
                              <br/>
                              <strong><%=var3%></strong>
                              <br/>
                          </p>
                          
                              <p style="margin:5px;">
                                   <a href="Empresa?operacion=0&id=<%=listpat.get(i+2).getEmprevCodEmpresa()%>">
                                       <%// String var="e"+patIt.getComtbPatrocinadorPK().getPatorvCodPatrocinador()+".gif"; %>
                                       <img style="height:52px;width:160px;" border="0" src="/imagenes/acklis.gif"/>
                                   </a><br/>
                                </p>
                          
                        </td>
                          
                      </tr>
                          
                      
                             <%
                             
                             }
             
                        %>
                           
                      
                    <%
                    }
                    %>
             
      
      
    </tbody>
    
    </table>
              </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <div style="clear:both;"></div>
                                    <div id="s5_mainbody">
                                        
                                        <table width="100%" cellspacing="0" cellpadding="0">  
                                            <tr>
                                                <td class="componentheading" colspan="4"></td>
                                            </tr>
                                            
                                        </table>
                                        
                                    </div>
                                    
                                </div>
                                <div id="s5_maincolumn_bottom">
                                    <div id="s5_maincolumn_bottom_left"></div>
                                    <div id="s5_maincolumn_bottom_right"></div>
                                </div>
                            </div>	
                            
                            
                        </div>
                        
                        <div style="float:left;height:19px;width:100%;"></div>
                        
                        <div id="s5_bottomwrap">
                            
                            
                            <div id="s5_user7_100">
                                <div id="s5_user789_left">
                                    <div class="module">
                                        <div>
                                            <div>
                                                <div>
                                               Ninguna informacion aun...</div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                </div>
                            </div>
                        </div>
                        
                    </div>
                    
                    <div style="clear:both;"></div>
                    
                    
                </div>
                
                
                
                
                
                <div id="s5_maininnerright"></div>		
                
                
            </div>
            
            
            <%@include file="jspf/afooter.jspf"%>
        </div>
        
    </body>
</html>
